package com.ht.pms.core.config;

import feign.Request;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * java类简单作用描述
 *
 * @Description: java类作用描述
 * @Author: 喻尊龙
 * @CreateDate: 2018/7/13 17:26
 * @Version: 1.0
 */
@Configuration
public class EipFeignConfiguration {
    @Bean
    Request.Options feignOptions() {
        return new Request.Options(/**connectTimeoutMillis**/30 * 1000, /** readTimeoutMillis **/30 * 1000);
    }
}
